<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<link rel="stylesheet" type="text/css" href="<c:url value = '/css/bootstrap.css'/>" />
<script type="text/javascript" src="<c:url value='/js/bootstrap.js' />" /></script>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Motos</title>
</head>
<body>
	<div class="container">
		<legend >Calcula Juros</legend>
		<form class="form-horizontal" action="<c:url value='/faz' />">
		<div class="container-fluid">
			<div class="row-fluid">
				<div class="span6">
				
						<div class="control-group">
							<label class="control-label" for="valor">Valor R$</label>
							<div class="controls">
								<input id="valor" type="text" name="valor" placeholder="valor" value="${valor}"/>
							</div>
						</div>
						
						<div class="span4">
							<label class="radio"> 
								<input id="honda" type="radio" name="bancoNome" value="BancoDoBrasil" /> Banco Do Brasil </label>
							<label class="radio"> 
								<input id="suzuki" type="radio" name="bancoNome" value="Bradesco" /> Bradesco </label>
							<label class="radio">
								<input id="yamaha" type="radio" name="bancoNome" value="HSBC" /> HSBC </label>
						</div>

						<button type="submit" class="btn">Cobrar</button>

				</div>
				
				<div class="span4">
						<span class="help-block">Qual o valor a ser cobrado?</span><br/>
						<input id="valor" type="text" disabled="true" value="R\$ ${valorCobrar}">
				</div>
			</div>
		</div>
		</form>
		
	</div>
</body>
</html>
